import math

m = ((2**4)+7-(3*4))/5
print(m)
a = math.fmod(16,7)/7
n = (1+3**2)*a
print(n)